#ifndef QADDRUNTIMEDATADIALOG_H
#define QADDRUNTIMEDATADIALOG_H

#include <QDialog>

class QNameEdit;

namespace Ui {
    class QAddRuntimeDataDialog;
}

class QAddRuntimeDataDialog : public QDialog
{
    Q_OBJECT

public:
    explicit QAddRuntimeDataDialog(QWidget *parent = 0);
    ~QAddRuntimeDataDialog();

    void    setNameList(const QStringList names);
    void    setCategoryList(const QStringList categorys);
    void    setCurrentCateGory(const QString category);

    QString getName();
    QString getCategory();
private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_clicked();

private:
    Ui::QAddRuntimeDataDialog *ui;
    QNameEdit                 *m_nameEdit;
    QString                   m_name;
    QString                   m_category;
};

#endif // QADDRUNTIMEDATADIALOG_H
